package com.dearbinge.data.pojo.orderTable;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Api("订单")
public class OrderTable implements Serializable {

    /**
     * id
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 订单编号
     */
    @ApiModelProperty("订单编号")
    private String number;
    /**
     * 交易类型(0:火箭  1:商品)
     */
    @ApiModelProperty("交易类型(0:火箭  1:商品)")
    private String businessType;
    /**
     * 发货时间
     */
    @ApiModelProperty("发货时间")
    private Date sendgoodsTime;
    /**
     * 商品ID
     */
    @ApiModelProperty("商品ID")
    private String commodityId;
    /**
     * 订单原价格
     */
    @ApiModelProperty("订单原价格")
    private BigDecimal primaryPrice;
    /**
     * 订单成交价格（以分为单位）
     */
    @ApiModelProperty("订单成交价格（以分为单位）")
    private BigDecimal preferentialPrice;
    /**
     * 运费
     */
    @ApiModelProperty("运费")
    private BigDecimal carriagePrice;
    /**
     * 该订单用户ID
     */
    @ApiModelProperty("该订单用户ID")
    private String userId;
    /**
     *卖家id（店家）
     */
    @ApiModelProperty("卖家id（店家）")
    private String sellerId;

    /**
     * 确定收货时间
     */
    @ApiModelProperty("确定收货时间")
    private Date determineTheTimeOfReceipt;
    /**
     * 是否评价（0：未评价  1：已评价 2：已追评）
     */
    @ApiModelProperty("是否评价（0：未评价  1：已评价 2：已追评）")
    private Integer assessType;
    /**
     * 状态 0 未付款 1 付款 2 等待分成 3 分成完成 4取消
     */

    @ApiModelProperty("订单状态： 0 待付款 1 待发货 2 待收货 3 成功的订单 4关闭的订单 5.退款中6.退款的订单")
    private Integer orderStatus;
    /**
     * 是否分销订单0代理 1非代理
     */
    @ApiModelProperty("是否分销订单0代理 1非代理")
    private Integer isDistribution;
    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    private Date modifyTime;
    /**
     * 创建人（卖货人id）
     */
    @ApiModelProperty("创建人（卖货人id）")
    private String createBy;
    /**
     * 修改人
     */
    @ApiModelProperty("修改人")
    private String modifyBy;
    /**
     * 是否删除（0：不删除  1：删除）
     */
    @ApiModelProperty("是否删除（0：不删除  1：删除）")
    private Boolean isDeleted;
    /**
     * 收货地址id
     */
    @ApiModelProperty("收货地址id")
    private String addressId;
    /**
     *店铺ID
     */
    @ApiModelProperty("店铺ID")
    private String shopId;
    /**
     *微信订单编号
     */
    @ApiModelProperty("微信订单编号")
    private String wechatNumber;

    /**
     *支付方式（1微信2支付宝3银行卡）
     */
    @ApiModelProperty("支付方式（1微信2支付宝3银行卡）")
    private String payMethod;

    /**
     *收货人姓名
     */
    @ApiModelProperty("收货人姓名")
    private String consigneeName;

    /**
     *收货人电话
     */
    @ApiModelProperty("收货人电话")
    private String consigneeMobile;


    /**
     *支付时间
     */
    @ApiModelProperty("支付时间")
    private Date payTime;
    /**
     *发货时间
     */
    @ApiModelProperty("发货时间")
    private Date deliverTime;
    /**
     *成交时间（确认收货时间）
     */
    @ApiModelProperty("成交时间（确认收货时间）")
    private Date dealTime;
    /**
     *订单取消时间
     */
    @ApiModelProperty("订单取消时间")
    private Date orderCancelTime;
    /**
     *买家留言
     */
    @ApiModelProperty("买家留言")
    private String buyerMessage;
    /**
     *支付后获取的订单号
     */
    @ApiModelProperty("支付后获取的订单号")
    private String  paymentOrderNumber;
    /**
     *快递单号
     */
    @ApiModelProperty("快递单号")
    private String  expressNum;
    /**
     *快递公司编码
     */
    @ApiModelProperty("快递公司编码")
    private String  expressCompanyCode;

    /**
     *快递公司名称
     */
    @ApiModelProperty("快递公司名称")
    private String  expressName;


    public String getExpressName() {
		return expressName;
	}

	public void setExpressName(String expressName) {
		this.expressName = expressName;
	}

	public String getExpressNum() {
		return expressNum;
	}

	public void setExpressNum(String expressNum) {
		this.expressNum = expressNum;
	}

	public String getExpressCompanyCode() {
		return expressCompanyCode;
	}

	public void setExpressCompanyCode(String expressCompanyCode) {
		this.expressCompanyCode = expressCompanyCode;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public Date getDeliverTime() {
		return deliverTime;
	}

	public void setDeliverTime(Date deliverTime) {
		this.deliverTime = deliverTime;
	}

	public Date getDeal_Time() {
		return dealTime;
	}

	public void setDeal_Time(Date dealTime) {
		this.dealTime = dealTime;
	}

	public Date getOrderCancelTime() {
		return orderCancelTime;
	}

	public void setOrderCancelTime(Date orderCancelTime) {
		this.orderCancelTime = orderCancelTime;
	}

	public String getBuyerMessage() {
		return buyerMessage;
	}

	public void setBuyerMessage(String buyerMessage) {
		this.buyerMessage = buyerMessage;
	}

	public String getPaymentOrderNumber() {
		return paymentOrderNumber;
	}

	public void setPaymentOrderNumber(String paymentOrderNumber) {
		this.paymentOrderNumber = paymentOrderNumber;
	}

	public String getConsigneeName() {
		return consigneeName;
	}

	public void setConsigneeName(String consigneeName) {
		this.consigneeName = consigneeName;
	}

	public String getConsigneeMobile() {
		return consigneeMobile;
	}

	public void setConsigneeMobile(String consigneeMobile) {
		this.consigneeMobile = consigneeMobile;
	}

	public String getPayMethod() {
		return payMethod;
	}

	public void setPayMethod(String payMethod) {
		this.payMethod = payMethod;
	}

	public String getWechatNumber() {
		return wechatNumber;
	}

	public void setWechatNumber(String wechatNumber) {
		this.wechatNumber = wechatNumber;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number == null ? null : number.trim();
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType == null ? null : businessType.trim();
    }

    public Date getSendgoodsTime() {
        return sendgoodsTime;
    }

    public void setSendgoodsTime(Date sendgoodsTime) {
        this.sendgoodsTime = sendgoodsTime;
    }

    public String getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(String commodityId) {
        this.commodityId = commodityId == null ? null : commodityId.trim();
    }

    public BigDecimal getPrimaryPrice() {
        return primaryPrice;
    }

    public void setPrimaryPrice(BigDecimal primaryPrice) {
        this.primaryPrice = primaryPrice;
    }

    public BigDecimal getPreferentialPrice() {
        return preferentialPrice;
    }

    public void setPreferentialPrice(BigDecimal preferentialPrice) {
        this.preferentialPrice = preferentialPrice;
    }

    public BigDecimal getCarriagePrice() {
        return carriagePrice;
    }

    public void setCarriagePrice(BigDecimal carriagePrice) {
        this.carriagePrice = carriagePrice;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Date getDetermineTheTimeOfReceipt() {
        return determineTheTimeOfReceipt;
    }

    public void setDetermineTheTimeOfReceipt(Date determineTheTimeOfReceipt) {
        this.determineTheTimeOfReceipt = determineTheTimeOfReceipt;
    }

    public Integer getAssessType() {
        return assessType;
    }

    public void setAssessType(Integer assessType) {
        this.assessType = assessType;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getIsDistribution() {
        return isDistribution;
    }

    public void setIsDistribution(Integer isDistribution) {
        this.isDistribution = isDistribution;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy == null ? null : modifyBy.trim();
    }

    public Boolean getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getAddressId() {
        return addressId;
    }

    public void setAddressId(String addressId) {
        this.addressId = addressId == null ? null : addressId.trim();
    }

    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId == null ? null : shopId.trim();
    }


	public String getSellerId() {
		return sellerId;
	}

	public void setSellerId(String sellerId) {
		this.sellerId = sellerId;
	}

	public Date getDealTime() {
		return dealTime;
	}

	public void setDealTime(Date dealTime) {
		this.dealTime = dealTime;
	}


}